package com.example.partyfee.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("party_member")
public class PartyMember extends BaseEntity {
    
    /**
     * 所在班级
     */
    private String className;
    
    /**
     * 职务
     */
    private String position;
    
    /**
     * 姓名
     */
    private String name;
    
    /**
     * 身份证号
     */
    private String idCard;
    
    /**
     * 标识号
     */
    private String identifier;
    
    /**
     * 入党时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate joinDate;
    
    /**
     * 职级(校级干部/院级干部/班级干部/组长)
     */
    private String positionLevel;
} 